
SET(GSL_EXT_CPP_SRCS "GSLFunctionWrapper.cpp"
                     "GSLMinimizerWrapper.cpp"
                     "GSLVectorWrapper.cpp"
                     "StoppingCriterion.cpp"
                     "SymbolicExpressionGenerator.cpp")

INCLUDE_DIRECTORIES("../" "../gsl_ext")

ADD_LIBRARY(gsl_ext_cpp SHARED ${GSL_EXT_CPP_SRCS})
TARGET_LINK_LIBRARIES(gsl_ext_cpp gsl_ext)
INSTALL(TARGETS gsl_ext_cpp LIBRARY DESTINATION lib)

SET(INST_HEADERS "GSLFunctionWrapper.h"
                 "GSLMinimizerWrapper.h"
                 "GSLVectorWrapper.h"
                 "StoppingCriterion.h"
                 "SymbolicExpressionGenerator.h")

INSTALL(FILES ${INST_HEADERS} DESTINATION include/gsl_ext_cpp)
